<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-comment">-----------------------------------------------------------------------------</span><span>
</span><span id="line-2"></span><span class="hs-comment">-- A Parser monad with access to the 'DynFlags'.</span><span>
</span><span id="line-3"></span><span class="hs-comment">--</span><span>
</span><span id="line-4"></span><span class="hs-comment">-- The 'P' monad only has access to the subset of 'DynFlags'</span><span>
</span><span id="line-5"></span><span class="hs-comment">-- required for parsing Haskell.</span><span>
</span><span id="line-6"></span><span>
</span><span id="line-7"></span><span class="hs-comment">-- The parser for C-- requires access to a lot more of the 'DynFlags',</span><span>
</span><span id="line-8"></span><span class="hs-comment">-- so 'PD' provides access to 'DynFlags' via a 'HasDynFlags' instance.</span><span>
</span><span id="line-9"></span><span class="hs-comment">-----------------------------------------------------------------------------</span><span>
</span><span id="line-10"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">GHC.Cmm.Monad</span><span> </span><span class="hs-special">(</span><span>
</span><span id="line-11"></span><span>    </span><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier">PD</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
</span><span id="line-12"></span><span>  </span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Cmm.Monad.html#liftP"><span class="hs-identifier">liftP</span></a></span><span>
</span><span id="line-13"></span><span>  </span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Cmm.Monad.html#failMsgPD"><span class="hs-identifier">failMsgPD</span></a></span><span>
</span><span id="line-14"></span><span>  </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-15"></span><span>
</span><span id="line-16"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Prelude.html"><span class="hs-identifier">GHC.Prelude</span></a></span><span>
</span><span id="line-17"></span><span>
</span><span id="line-18"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Control.Monad.html#"><span class="hs-identifier">Control.Monad</span></a></span><span>
</span><span id="line-19"></span><span>
</span><span id="line-20"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Driver.Session.html"><span class="hs-identifier">GHC.Driver.Session</span></a></span><span>
</span><span id="line-21"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Parser.Lexer.html"><span class="hs-identifier">GHC.Parser.Lexer</span></a></span><span>
</span><span id="line-22"></span><span>
</span><span id="line-23"></span><span class="hs-keyword">newtype</span><span> </span><span id="PD"><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-var">PD</span></a></span></span><span> </span><span id="local-6989586621681000735"><span class="annot"><a href="#local-6989586621681000735"><span class="hs-identifier hs-type">a</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="PD"><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-var">PD</span></a></span></span><span> </span><span class="hs-special">{</span><span> </span><span id="unPD"><span class="annot"><span class="annottext">forall a. PD a -&gt; DynFlags -&gt; PState -&gt; ParseResult a
</span><a href="GHC.Cmm.Monad.html#unPD"><span class="hs-identifier hs-var hs-var">unPD</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Driver.Session.html#DynFlags"><span class="hs-identifier hs-type">DynFlags</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Parser.Lexer.html#PState"><span class="hs-identifier hs-type">PState</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Parser.Lexer.html#ParseResult"><span class="hs-identifier hs-type">ParseResult</span></a></span><span> </span><span class="annot"><a href="#local-6989586621681000735"><span class="hs-identifier hs-type">a</span></a></span><span> </span><span class="hs-special">}</span><span>
</span><span id="line-24"></span><span>
</span><span id="line-25"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621681000662"><span class="annot"><a href="../../base/src/GHC.Base.html#Functor"><span class="hs-identifier hs-type">Functor</span></a></span><span> </span><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-type">PD</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-26"></span><span>  </span><span id="local-6989586621681000659"><span class="annot"><span class="annottext">fmap :: forall a b. (a -&gt; b) -&gt; PD a -&gt; PD b
</span><a href="../../base/src/GHC.Base.html#fmap"><span class="hs-identifier hs-var hs-var hs-var hs-var">fmap</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(a -&gt; b) -&gt; PD a -&gt; PD b
forall (m :: * -&gt; *) a1 r. Monad m =&gt; (a1 -&gt; r) -&gt; m a1 -&gt; m r
</span><a href="../../base/src/GHC.Base.html#liftM"><span class="hs-identifier hs-var">liftM</span></a></span><span>
</span><span id="line-27"></span><span>
</span><span id="line-28"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621681000648"><span id="local-6989586621681000650"><span id="local-6989586621681000652"><span class="annot"><a href="../../base/src/GHC.Base.html#Applicative"><span class="hs-identifier hs-type">Applicative</span></a></span><span> </span><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-type">PD</span></a></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-29"></span><span>  </span><span id="local-6989586621681000646"><span class="annot"><span class="annottext">pure :: forall a. a -&gt; PD a
</span><a href="../../base/src/GHC.Base.html#pure"><span class="hs-identifier hs-var hs-var hs-var hs-var">pure</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">a -&gt; PD a
forall a. a -&gt; PD a
</span><a href="GHC.Cmm.Monad.html#returnPD"><span class="hs-identifier hs-var">returnPD</span></a></span><span>
</span><span id="line-30"></span><span>  </span><span id="local-6989586621681000643"><span class="annot"><span class="annottext">&lt;*&gt; :: forall a b. PD (a -&gt; b) -&gt; PD a -&gt; PD b
</span><a href="../../base/src/GHC.Base.html#%3C%2A%3E"><span class="hs-operator hs-var hs-var hs-var hs-var">(&lt;*&gt;)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PD (a -&gt; b) -&gt; PD a -&gt; PD b
forall (m :: * -&gt; *) a b. Monad m =&gt; m (a -&gt; b) -&gt; m a -&gt; m b
</span><a href="../../base/src/GHC.Base.html#ap"><span class="hs-identifier hs-var">ap</span></a></span><span>
</span><span id="line-31"></span><span>
</span><span id="line-32"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621681000635"><span id="local-6989586621681000637"><span class="annot"><a href="../../base/src/GHC.Base.html#Monad"><span class="hs-identifier hs-type">Monad</span></a></span><span> </span><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-type">PD</span></a></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-33"></span><span>  </span><span id="local-6989586621681000633"><span class="annot"><span class="annottext">&gt;&gt;= :: forall a b. PD a -&gt; (a -&gt; PD b) -&gt; PD b
</span><a href="../../base/src/GHC.Base.html#%3E%3E%3D"><span class="hs-operator hs-var hs-var hs-var hs-var">(&gt;&gt;=)</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PD a -&gt; (a -&gt; PD b) -&gt; PD b
forall a b. PD a -&gt; (a -&gt; PD b) -&gt; PD b
</span><a href="GHC.Cmm.Monad.html#thenPD"><span class="hs-identifier hs-var">thenPD</span></a></span><span>
</span><span id="line-34"></span><span>
</span><span id="line-35"></span><span id="local-6989586621681000695"><span class="annot"><a href="GHC.Cmm.Monad.html#liftP"><span class="hs-identifier hs-type">liftP</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Parser.Lexer.html#P"><span class="hs-identifier hs-type">P</span></a></span><span> </span><span class="annot"><a href="#local-6989586621681000695"><span class="hs-identifier hs-type">a</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-type">PD</span></a></span><span> </span><span class="annot"><a href="#local-6989586621681000695"><span class="hs-identifier hs-type">a</span></a></span></span><span>
</span><span id="line-36"></span><span id="liftP"><span class="annot"><span class="annottext">liftP :: forall a. P a -&gt; PD a
</span><a href="GHC.Cmm.Monad.html#liftP"><span class="hs-identifier hs-var hs-var">liftP</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Parser.Lexer.html#P"><span class="hs-identifier hs-type">P</span></a></span><span> </span><span id="local-6989586621681000630"><span class="annot"><span class="annottext">PState -&gt; ParseResult a
</span><a href="#local-6989586621681000630"><span class="hs-identifier hs-var">f</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(DynFlags -&gt; PState -&gt; ParseResult a) -&gt; PD a
forall a. (DynFlags -&gt; PState -&gt; ParseResult a) -&gt; PD a
</span><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-var">PD</span></a></span><span> </span><span class="annot"><span class="annottext">((DynFlags -&gt; PState -&gt; ParseResult a) -&gt; PD a)
-&gt; (DynFlags -&gt; PState -&gt; ParseResult a) -&gt; PD a
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="hs-glyph">\</span><span class="annot"><span class="annottext">DynFlags
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621681000629"><span class="annot"><span class="annottext">PState
</span><a href="#local-6989586621681000629"><span class="hs-identifier hs-var">s</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">PState -&gt; ParseResult a
</span><a href="#local-6989586621681000630"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">PState
</span><a href="#local-6989586621681000629"><span class="hs-identifier hs-var">s</span></a></span><span>
</span><span id="line-37"></span><span>
</span><span id="line-38"></span><span id="local-6989586621681000689"><span class="annot"><a href="GHC.Cmm.Monad.html#failMsgPD"><span class="hs-identifier hs-type">failMsgPD</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-type">PD</span></a></span><span> </span><span class="annot"><a href="#local-6989586621681000689"><span class="hs-identifier hs-type">a</span></a></span></span><span>
</span><span id="line-39"></span><span id="failMsgPD"><span class="annot"><span class="annottext">failMsgPD :: forall a. String -&gt; PD a
</span><a href="GHC.Cmm.Monad.html#failMsgPD"><span class="hs-identifier hs-var hs-var">failMsgPD</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">P a -&gt; PD a
forall a. P a -&gt; PD a
</span><a href="GHC.Cmm.Monad.html#liftP"><span class="hs-identifier hs-var">liftP</span></a></span><span> </span><span class="annot"><span class="annottext">(P a -&gt; PD a) -&gt; (String -&gt; P a) -&gt; String -&gt; PD a
forall b c a. (b -&gt; c) -&gt; (a -&gt; b) -&gt; a -&gt; c
</span><a href="../../base/src/GHC.Base.html#."><span class="hs-operator hs-var">.</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; P a
forall a. String -&gt; P a
</span><a href="GHC.Parser.Lexer.html#failMsgP"><span class="hs-identifier hs-var">failMsgP</span></a></span><span>
</span><span id="line-40"></span><span>
</span><span id="line-41"></span><span id="local-6989586621681000626"><span class="annot"><a href="GHC.Cmm.Monad.html#returnPD"><span class="hs-identifier hs-type">returnPD</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="#local-6989586621681000626"><span class="hs-identifier hs-type">a</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-type">PD</span></a></span><span> </span><span class="annot"><a href="#local-6989586621681000626"><span class="hs-identifier hs-type">a</span></a></span></span><span>
</span><span id="line-42"></span><span id="returnPD"><span class="annot"><span class="annottext">returnPD :: forall a. a -&gt; PD a
</span><a href="GHC.Cmm.Monad.html#returnPD"><span class="hs-identifier hs-var hs-var">returnPD</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">P a -&gt; PD a
forall a. P a -&gt; PD a
</span><a href="GHC.Cmm.Monad.html#liftP"><span class="hs-identifier hs-var">liftP</span></a></span><span> </span><span class="annot"><span class="annottext">(P a -&gt; PD a) -&gt; (a -&gt; P a) -&gt; a -&gt; PD a
forall b c a. (b -&gt; c) -&gt; (a -&gt; b) -&gt; a -&gt; c
</span><a href="../../base/src/GHC.Base.html#."><span class="hs-operator hs-var">.</span></a></span><span> </span><span class="annot"><span class="annottext">a -&gt; P a
forall (m :: * -&gt; *) a. Monad m =&gt; a -&gt; m a
</span><a href="../../base/src/GHC.Base.html#return"><span class="hs-identifier hs-var">return</span></a></span><span>
</span><span id="line-43"></span><span>
</span><span id="line-44"></span><span id="local-6989586621681000622"><span id="local-6989586621681000623"><span class="annot"><a href="GHC.Cmm.Monad.html#thenPD"><span class="hs-identifier hs-type">thenPD</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-type">PD</span></a></span><span> </span><span class="annot"><a href="#local-6989586621681000623"><span class="hs-identifier hs-type">a</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="#local-6989586621681000623"><span class="hs-identifier hs-type">a</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-type">PD</span></a></span><span> </span><span class="annot"><a href="#local-6989586621681000622"><span class="hs-identifier hs-type">b</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-type">PD</span></a></span><span> </span><span class="annot"><a href="#local-6989586621681000622"><span class="hs-identifier hs-type">b</span></a></span></span></span><span>
</span><span id="line-45"></span><span class="hs-special">(</span><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-type">PD</span></a></span><span> </span><span id="local-6989586621681000621"><span class="annot"><span class="annottext">DynFlags -&gt; PState -&gt; ParseResult a
</span><a href="#local-6989586621681000621"><span class="hs-identifier hs-var">m</span></a></span></span><span class="hs-special">)</span><span> </span><span id="thenPD"><span class="annot"><span class="annottext">thenPD :: forall a b. PD a -&gt; (a -&gt; PD b) -&gt; PD b
</span><a href="GHC.Cmm.Monad.html#thenPD"><span class="hs-operator hs-var hs-var">`thenPD`</span></a></span></span><span> </span><span id="local-6989586621681000620"><span class="annot"><span class="annottext">a -&gt; PD b
</span><a href="#local-6989586621681000620"><span class="hs-identifier hs-var">k</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(DynFlags -&gt; PState -&gt; ParseResult b) -&gt; PD b
forall a. (DynFlags -&gt; PState -&gt; ParseResult a) -&gt; PD a
</span><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-var">PD</span></a></span><span> </span><span class="annot"><span class="annottext">((DynFlags -&gt; PState -&gt; ParseResult b) -&gt; PD b)
-&gt; (DynFlags -&gt; PState -&gt; ParseResult b) -&gt; PD b
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="hs-glyph">\</span><span id="local-6989586621681000619"><span class="annot"><span class="annottext">DynFlags
</span><a href="#local-6989586621681000619"><span class="hs-identifier hs-var">d</span></a></span></span><span> </span><span id="local-6989586621681000618"><span class="annot"><span class="annottext">PState
</span><a href="#local-6989586621681000618"><span class="hs-identifier hs-var">s</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-46"></span><span>        </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">DynFlags -&gt; PState -&gt; ParseResult a
</span><a href="#local-6989586621681000621"><span class="hs-identifier hs-var">m</span></a></span><span> </span><span class="annot"><span class="annottext">DynFlags
</span><a href="#local-6989586621681000619"><span class="hs-identifier hs-var">d</span></a></span><span> </span><span class="annot"><span class="annottext">PState
</span><a href="#local-6989586621681000618"><span class="hs-identifier hs-var">s</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-47"></span><span>                </span><span class="annot"><a href="GHC.Parser.Lexer.html#POk"><span class="hs-identifier hs-type">POk</span></a></span><span> </span><span id="local-6989586621681000616"><span class="annot"><span class="annottext">PState
</span><a href="#local-6989586621681000616"><span class="hs-identifier hs-var">s1</span></a></span></span><span> </span><span id="local-6989586621681000615"><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621681000615"><span class="hs-identifier hs-var">a</span></a></span></span><span>         </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">PD b -&gt; DynFlags -&gt; PState -&gt; ParseResult b
forall a. PD a -&gt; DynFlags -&gt; PState -&gt; ParseResult a
</span><a href="GHC.Cmm.Monad.html#unPD"><span class="hs-identifier hs-var hs-var">unPD</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">a -&gt; PD b
</span><a href="#local-6989586621681000620"><span class="hs-identifier hs-var">k</span></a></span><span> </span><span class="annot"><span class="annottext">a
</span><a href="#local-6989586621681000615"><span class="hs-identifier hs-var">a</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">DynFlags
</span><a href="#local-6989586621681000619"><span class="hs-identifier hs-var">d</span></a></span><span> </span><span class="annot"><span class="annottext">PState
</span><a href="#local-6989586621681000616"><span class="hs-identifier hs-var">s1</span></a></span><span>
</span><span id="line-48"></span><span>                </span><span class="annot"><a href="GHC.Parser.Lexer.html#PFailed"><span class="hs-identifier hs-type">PFailed</span></a></span><span> </span><span id="local-6989586621681000613"><span class="annot"><span class="annottext">PState
</span><a href="#local-6989586621681000613"><span class="hs-identifier hs-var">s1</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">PState -&gt; ParseResult b
forall a. PState -&gt; ParseResult a
</span><a href="GHC.Parser.Lexer.html#PFailed"><span class="hs-identifier hs-var">PFailed</span></a></span><span> </span><span class="annot"><span class="annottext">PState
</span><a href="#local-6989586621681000613"><span class="hs-identifier hs-var">s1</span></a></span><span>
</span><span id="line-49"></span><span>
</span><span id="line-50"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="GHC.Driver.Session.html#HasDynFlags"><span class="hs-identifier hs-type">HasDynFlags</span></a></span><span> </span><span class="annot"><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-type">PD</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-51"></span><span>   </span><span id="local-6989586621681000609"><span class="annot"><span class="annottext">getDynFlags :: PD DynFlags
</span><a href="GHC.Driver.Session.html#getDynFlags"><span class="hs-identifier hs-var hs-var hs-var hs-var">getDynFlags</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(DynFlags -&gt; PState -&gt; ParseResult DynFlags) -&gt; PD DynFlags
forall a. (DynFlags -&gt; PState -&gt; ParseResult a) -&gt; PD a
</span><a href="GHC.Cmm.Monad.html#PD"><span class="hs-identifier hs-var">PD</span></a></span><span> </span><span class="annot"><span class="annottext">((DynFlags -&gt; PState -&gt; ParseResult DynFlags) -&gt; PD DynFlags)
-&gt; (DynFlags -&gt; PState -&gt; ParseResult DynFlags) -&gt; PD DynFlags
forall a b. (a -&gt; b) -&gt; a -&gt; b
</span><a href="../../base/src/GHC.Base.html#%24"><span class="hs-operator hs-var">$</span></a></span><span> </span><span class="hs-glyph">\</span><span id="local-6989586621681000607"><span class="annot"><span class="annottext">DynFlags
</span><a href="#local-6989586621681000607"><span class="hs-identifier hs-var">d</span></a></span></span><span> </span><span id="local-6989586621681000606"><span class="annot"><span class="annottext">PState
</span><a href="#local-6989586621681000606"><span class="hs-identifier hs-var">s</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">PState -&gt; DynFlags -&gt; ParseResult DynFlags
forall a. PState -&gt; a -&gt; ParseResult a
</span><a href="GHC.Parser.Lexer.html#POk"><span class="hs-identifier hs-var">POk</span></a></span><span> </span><span class="annot"><span class="annottext">PState
</span><a href="#local-6989586621681000606"><span class="hs-identifier hs-var">s</span></a></span><span> </span><span class="annot"><span class="annottext">DynFlags
</span><a href="#local-6989586621681000607"><span class="hs-identifier hs-var">d</span></a></span><span>
</span><span id="line-52"></span></pre></body></html>